<!DOCTYPE html>
<html lang="en">
<head>

    <title> Hello MiniUI!</title>
    <meta charset="UTF-8"/>
    <script src="../../../../../scripts/boot.js"></script>
</head>
<style>
    body {
        margin: 0;
        padding: 0;
        border: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }
</style>
<body>
<div class="mini-fit" style="width:100%;height:100%;">

    <div showCollapseButton="true">
        <div class="mini-toolbar" style=" padding:2px;border-top:0;border-left:0;border-right:0;">
            <a class="mini-button" iconCls="icon-remove" plain="true" onclick="removeRow()">删除</a>
            <a class="mini-button" iconCls="icon-edit" plain="true" onclick="editRow()">查看</a>
            <a class="mini-button" iconCls="icon-download" plain="true" onclick="download()">下载</a>
            <a class="mini-button" iconCls="icon-print" plain="true" onclick="print()">打印</a>
            <a style="float:right;" class="mini-button" iconCls="icon-reload" plain="true" onclick="refresh()">刷新</a>
            <span class="separator"></span>
        </div>
        <fieldset style="width:100%;border:solid 1px #aaa;margin-top:8px;position:relative;">
            <form id="form1">
                <div id="editForm1" style="padding:5px;width: 100%;">
                    <table style="width:100%;">
                        <tr style="width:100%;">
                            <td style="width:80px;">日志类型:</td>
                            <td style="width:250px;"><input id="logType" name="logType" class="mini-combobox"
                                                            style="width:100%;"/>
                            </td>

                            <td style="width:80px;">操作用户:</td>
                            <td style="width:250px;"><input id="uname" name="uname" class="mini-textbox"
                                                            style="width:100%;"/></td>
                            <td style="width:80px;">操作方法:</td>
                            <td style="width:250px;"><input id="logMethod" name="logMethod" valueField="id"
                                                            textField="text"
                                                            class="mini-textbox" style="width:100%;"/></td>
                            <td style="width:80px;text-align: right;">
                                <button style="width:80px;" onclick="find" class="mini-button">查询</button>
                                <button style="width:80px;" onclick="clean" class="mini-button">重置</button>
                            </td>
                        </tr>
                    </table>
                </div>
            </form>
        </fieldset>

    </div>
    <div id="grid1" class="mini-datagrid" style="width:100%;height:100%;" borderStyle="border:0;"
         multiSelect="true"
         allowCellSelect="true"
         showPager="true"
         showPageSize="false"
         pageIndex="0"
         pageSize="100">
        <div property="columns">
            <div type="checkcolumn"></div>
            <div field="logId" headerAlign="center" align="center" visible="false">id</div>

            <div field="logType" width="120" headerAlign="center" allowSort="true">日志类型


            </div>
            <div field="logIpaddr" width="120" headerAlign="center" allowSort="true">用户IP

            </div>
            <div field="logOperBy" width="120" headerAlign="center" allowSort="true">用户名


            </div>
            <div field="uname" width="100" allowSort="true" renderer="onGenderRenderer" align="center"
                 headerAlign="center">真实姓名

            </div>
            <div field="controller" width="100" align="center" allowSort="true">controller

            </div>
            <div field="logMethod" width="100" align="center" allowSort="true">方法

            </div>
            <div field="params" width="120" headerAlign="center" allowSort="true">参数


            </div>
            <div field="url" width="120" headerAlign="center" allowSort="true">访问路径


            </div>
            <div field="logCreateDate" width="100" headerAlign="center" dateFormat="yyyy-MM-dd" allowSort="true">记录时间

            </div>
        </div>
    </div>
</div>
</div>

</body>
</html>
<script src="js/LogList.js"></script>



